package com.tangyuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.model.UserAction;
import com.tangyuan.model.UserCoordination2;
import com.tangyuan.model.UserLike;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小梁
 * @since 2020-12-03
 */
public interface UserCoordination2Service extends IService<UserCoordination2> {


    List<UserCoordination2> getUserCoordination2ByUserId1(List<Long> userIds);

    List<UserCoordination2> getUserCoordination2PageByUserId1(Long userId);

    /**
     * 根据Pearson得到推荐电影列表
     * @param userId
     * @return
     */
    List<Long> getMovieIdList(Long userId);

    void saveUserCoordination2(List<UserAction> userActions, List<UserLike> likes);

    UserCoordination2 getUserCoordination2(Long userId1,Long userId2);
}
